package com.bytedance.article.b.a;

import android.content.Context;
import com.bytedance.article.b.b.DependProvider;
import com.bytedance.common.plugin.interfaces.location.ILocation;
import org.json.JSONObject;

public final class i implements ILocation {
    public ILocation a;
    private static DependProvider b;

    static {
        i.b = new j();
    }

    public i() {

    }

    public static i a() {
        return (i) i.b.getInstance();
    }

    public final long getLocTime(Context arg3) {
        long v0 = this.a != null ? this.a.getLocTime(arg3) : 0;
        return v0;
    }

    public final JSONObject getLocationData(Context arg2) {
        JSONObject v0 = this.a != null ? this.a.getLocationData(arg2) : null;
        return v0;
    }

    public final boolean isDataNew(Context arg3, long arg4) {
        boolean v0 = this.a != null ? this.a.isDataNew(arg3, arg4) : false;
        return v0;
    }

    public final void tryLocale(Context arg2, boolean arg3, boolean arg4) {
        if(this.a != null) {
            this.a.tryLocale(arg2, arg3, arg4);
        }
    }
}

